<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/react.js"></script>
    <script src="js/react-dom.js"></script>
    <script src="js/browser.min.js"></script>
</head>
<body>
    <div id="example"></div>
<script type="text/babel">
    class Eletran extends React.Component{
        constructor(props){
            super(props);
            this.state = {

            } ;
        }
        render(){
            return (
                <div>{this.props.name}</div>
            );
        }
    }
    ReactDOM.render(
            React.createElement(Eletran,{name:'cesi'}),
            document.getElementById('example')
    );
</script>
</body>
</html>